package com.innoking.docsys.doc.example;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class UpmsFondsManageExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UpmsFondsManageExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andFondsIdIsNull() {
            addCriterion("FONDS_ID is null");
            return (Criteria) this;
        }

        public Criteria andFondsIdIsNotNull() {
            addCriterion("FONDS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFondsIdEqualTo(Integer value) {
            addCriterion("FONDS_ID =", value, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdNotEqualTo(Integer value) {
            addCriterion("FONDS_ID <>", value, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdGreaterThan(Integer value) {
            addCriterion("FONDS_ID >", value, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FONDS_ID >=", value, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdLessThan(Integer value) {
            addCriterion("FONDS_ID <", value, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdLessThanOrEqualTo(Integer value) {
            addCriterion("FONDS_ID <=", value, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdIn(List<Integer> values) {
            addCriterion("FONDS_ID in", values, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdNotIn(List<Integer> values) {
            addCriterion("FONDS_ID not in", values, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdBetween(Integer value1, Integer value2) {
            addCriterion("FONDS_ID between", value1, value2, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FONDS_ID not between", value1, value2, "fondsId");
            return (Criteria) this;
        }

        public Criteria andFondsNumIsNull() {
            addCriterion("FONDS_NUM is null");
            return (Criteria) this;
        }

        public Criteria andFondsNumIsNotNull() {
            addCriterion("FONDS_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andFondsNumEqualTo(String value) {
            addCriterion("FONDS_NUM =", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumNotEqualTo(String value) {
            addCriterion("FONDS_NUM <>", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumGreaterThan(String value) {
            addCriterion("FONDS_NUM >", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumGreaterThanOrEqualTo(String value) {
            addCriterion("FONDS_NUM >=", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumLessThan(String value) {
            addCriterion("FONDS_NUM <", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumLessThanOrEqualTo(String value) {
            addCriterion("FONDS_NUM <=", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumLike(String value) {
            addCriterion("FONDS_NUM like", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumNotLike(String value) {
            addCriterion("FONDS_NUM not like", value, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumIn(List<String> values) {
            addCriterion("FONDS_NUM in", values, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumNotIn(List<String> values) {
            addCriterion("FONDS_NUM not in", values, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumBetween(String value1, String value2) {
            addCriterion("FONDS_NUM between", value1, value2, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNumNotBetween(String value1, String value2) {
            addCriterion("FONDS_NUM not between", value1, value2, "fondsNum");
            return (Criteria) this;
        }

        public Criteria andFondsNameIsNull() {
            addCriterion("FONDS_NAME is null");
            return (Criteria) this;
        }

        public Criteria andFondsNameIsNotNull() {
            addCriterion("FONDS_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andFondsNameEqualTo(String value) {
            addCriterion("FONDS_NAME =", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameNotEqualTo(String value) {
            addCriterion("FONDS_NAME <>", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameGreaterThan(String value) {
            addCriterion("FONDS_NAME >", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameGreaterThanOrEqualTo(String value) {
            addCriterion("FONDS_NAME >=", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameLessThan(String value) {
            addCriterion("FONDS_NAME <", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameLessThanOrEqualTo(String value) {
            addCriterion("FONDS_NAME <=", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameLike(String value) {
            addCriterion("FONDS_NAME like", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameNotLike(String value) {
            addCriterion("FONDS_NAME not like", value, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameIn(List<String> values) {
            addCriterion("FONDS_NAME in", values, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameNotIn(List<String> values) {
            addCriterion("FONDS_NAME not in", values, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameBetween(String value1, String value2) {
            addCriterion("FONDS_NAME between", value1, value2, "fondsName");
            return (Criteria) this;
        }

        public Criteria andFondsNameNotBetween(String value1, String value2) {
            addCriterion("FONDS_NAME not between", value1, value2, "fondsName");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNull() {
            addCriterion("CTIME is null");
            return (Criteria) this;
        }

        public Criteria andCtimeIsNotNull() {
            addCriterion("CTIME is not null");
            return (Criteria) this;
        }

        public Criteria andCtimeEqualTo(Date value) {
            addCriterionForJDBCDate("CTIME =", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("CTIME <>", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThan(Date value) {
            addCriterionForJDBCDate("CTIME >", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CTIME >=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThan(Date value) {
            addCriterionForJDBCDate("CTIME <", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CTIME <=", value, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeIn(List<Date> values) {
            addCriterionForJDBCDate("CTIME in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("CTIME not in", values, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CTIME between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andCtimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CTIME not between", value1, value2, "ctime");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNull() {
            addCriterion("MTIME is null");
            return (Criteria) this;
        }

        public Criteria andMtimeIsNotNull() {
            addCriterion("MTIME is not null");
            return (Criteria) this;
        }

        public Criteria andMtimeEqualTo(Date value) {
            addCriterionForJDBCDate("MTIME =", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("MTIME <>", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThan(Date value) {
            addCriterionForJDBCDate("MTIME >", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("MTIME >=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThan(Date value) {
            addCriterionForJDBCDate("MTIME <", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("MTIME <=", value, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeIn(List<Date> values) {
            addCriterionForJDBCDate("MTIME in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("MTIME not in", values, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("MTIME between", value1, value2, "mtime");
            return (Criteria) this;
        }

        public Criteria andMtimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("MTIME not between", value1, value2, "mtime");
            return (Criteria) this;
        }

        public Criteria andStr1IsNull() {
            addCriterion("STR1 is null");
            return (Criteria) this;
        }

        public Criteria andStr1IsNotNull() {
            addCriterion("STR1 is not null");
            return (Criteria) this;
        }

        public Criteria andStr1EqualTo(String value) {
            addCriterion("STR1 =", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotEqualTo(String value) {
            addCriterion("STR1 <>", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1GreaterThan(String value) {
            addCriterion("STR1 >", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1GreaterThanOrEqualTo(String value) {
            addCriterion("STR1 >=", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1LessThan(String value) {
            addCriterion("STR1 <", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1LessThanOrEqualTo(String value) {
            addCriterion("STR1 <=", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1Like(String value) {
            addCriterion("STR1 like", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotLike(String value) {
            addCriterion("STR1 not like", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1In(List<String> values) {
            addCriterion("STR1 in", values, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotIn(List<String> values) {
            addCriterion("STR1 not in", values, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1Between(String value1, String value2) {
            addCriterion("STR1 between", value1, value2, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotBetween(String value1, String value2) {
            addCriterion("STR1 not between", value1, value2, "str1");
            return (Criteria) this;
        }

        public Criteria andStr2IsNull() {
            addCriterion("STR2 is null");
            return (Criteria) this;
        }

        public Criteria andStr2IsNotNull() {
            addCriterion("STR2 is not null");
            return (Criteria) this;
        }

        public Criteria andStr2EqualTo(String value) {
            addCriterion("STR2 =", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotEqualTo(String value) {
            addCriterion("STR2 <>", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2GreaterThan(String value) {
            addCriterion("STR2 >", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2GreaterThanOrEqualTo(String value) {
            addCriterion("STR2 >=", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2LessThan(String value) {
            addCriterion("STR2 <", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2LessThanOrEqualTo(String value) {
            addCriterion("STR2 <=", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2Like(String value) {
            addCriterion("STR2 like", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotLike(String value) {
            addCriterion("STR2 not like", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2In(List<String> values) {
            addCriterion("STR2 in", values, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotIn(List<String> values) {
            addCriterion("STR2 not in", values, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2Between(String value1, String value2) {
            addCriterion("STR2 between", value1, value2, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotBetween(String value1, String value2) {
            addCriterion("STR2 not between", value1, value2, "str2");
            return (Criteria) this;
        }

        public Criteria andStr3IsNull() {
            addCriterion("STR3 is null");
            return (Criteria) this;
        }

        public Criteria andStr3IsNotNull() {
            addCriterion("STR3 is not null");
            return (Criteria) this;
        }

        public Criteria andStr3EqualTo(String value) {
            addCriterion("STR3 =", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotEqualTo(String value) {
            addCriterion("STR3 <>", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3GreaterThan(String value) {
            addCriterion("STR3 >", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3GreaterThanOrEqualTo(String value) {
            addCriterion("STR3 >=", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3LessThan(String value) {
            addCriterion("STR3 <", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3LessThanOrEqualTo(String value) {
            addCriterion("STR3 <=", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3Like(String value) {
            addCriterion("STR3 like", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotLike(String value) {
            addCriterion("STR3 not like", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3In(List<String> values) {
            addCriterion("STR3 in", values, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotIn(List<String> values) {
            addCriterion("STR3 not in", values, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3Between(String value1, String value2) {
            addCriterion("STR3 between", value1, value2, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotBetween(String value1, String value2) {
            addCriterion("STR3 not between", value1, value2, "str3");
            return (Criteria) this;
        }

        public Criteria andStr4IsNull() {
            addCriterion("STR4 is null");
            return (Criteria) this;
        }

        public Criteria andStr4IsNotNull() {
            addCriterion("STR4 is not null");
            return (Criteria) this;
        }

        public Criteria andStr4EqualTo(String value) {
            addCriterion("STR4 =", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotEqualTo(String value) {
            addCriterion("STR4 <>", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4GreaterThan(String value) {
            addCriterion("STR4 >", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4GreaterThanOrEqualTo(String value) {
            addCriterion("STR4 >=", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4LessThan(String value) {
            addCriterion("STR4 <", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4LessThanOrEqualTo(String value) {
            addCriterion("STR4 <=", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4Like(String value) {
            addCriterion("STR4 like", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotLike(String value) {
            addCriterion("STR4 not like", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4In(List<String> values) {
            addCriterion("STR4 in", values, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotIn(List<String> values) {
            addCriterion("STR4 not in", values, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4Between(String value1, String value2) {
            addCriterion("STR4 between", value1, value2, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotBetween(String value1, String value2) {
            addCriterion("STR4 not between", value1, value2, "str4");
            return (Criteria) this;
        }

        public Criteria andStr5IsNull() {
            addCriterion("STR5 is null");
            return (Criteria) this;
        }

        public Criteria andStr5IsNotNull() {
            addCriterion("STR5 is not null");
            return (Criteria) this;
        }

        public Criteria andStr5EqualTo(String value) {
            addCriterion("STR5 =", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotEqualTo(String value) {
            addCriterion("STR5 <>", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5GreaterThan(String value) {
            addCriterion("STR5 >", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5GreaterThanOrEqualTo(String value) {
            addCriterion("STR5 >=", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5LessThan(String value) {
            addCriterion("STR5 <", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5LessThanOrEqualTo(String value) {
            addCriterion("STR5 <=", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5Like(String value) {
            addCriterion("STR5 like", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotLike(String value) {
            addCriterion("STR5 not like", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5In(List<String> values) {
            addCriterion("STR5 in", values, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotIn(List<String> values) {
            addCriterion("STR5 not in", values, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5Between(String value1, String value2) {
            addCriterion("STR5 between", value1, value2, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotBetween(String value1, String value2) {
            addCriterion("STR5 not between", value1, value2, "str5");
            return (Criteria) this;
        }

        public Criteria andUnitCodeIsNull() {
            addCriterion("UNIT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andUnitCodeIsNotNull() {
            addCriterion("UNIT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andUnitCodeEqualTo(String value) {
            addCriterion("UNIT_CODE =", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotEqualTo(String value) {
            addCriterion("UNIT_CODE <>", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeGreaterThan(String value) {
            addCriterion("UNIT_CODE >", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeGreaterThanOrEqualTo(String value) {
            addCriterion("UNIT_CODE >=", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeLessThan(String value) {
            addCriterion("UNIT_CODE <", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeLessThanOrEqualTo(String value) {
            addCriterion("UNIT_CODE <=", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeLike(String value) {
            addCriterion("UNIT_CODE like", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotLike(String value) {
            addCriterion("UNIT_CODE not like", value, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeIn(List<String> values) {
            addCriterion("UNIT_CODE in", values, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotIn(List<String> values) {
            addCriterion("UNIT_CODE not in", values, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeBetween(String value1, String value2) {
            addCriterion("UNIT_CODE between", value1, value2, "unitCode");
            return (Criteria) this;
        }

        public Criteria andUnitCodeNotBetween(String value1, String value2) {
            addCriterion("UNIT_CODE not between", value1, value2, "unitCode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}